package frobagroup.repositories;


import frobagroup.pagination.Pagination;
import org.springframework.data.mongodb.core.query.Query;
import org.springframework.data.mongodb.core.query.Update;

import java.util.Map;

/**
 * Created by Tinsley on 2016/7/18.
 */
public interface BaseRepository {
    public void queryConditionHandler(Map<String, String> conditions, Query query);
    public void pagingSort(Pagination pagination, Query query);
    public void updateHandler(Map<String, String> conditions, Update update);
}
